package com.wuyou.designPatterns.template;


public class TemplateMain {


    public static void main(String[] args) {
        AbstractDisplay a = new CharDisplay('1');
        a.display();
        System.out.println(a.getClass());

        AbstractDisplay b = new StringDisplay("Hello World!");
        b.display();
    }
}
